package com.hospitalsystem.entity;

import java.util.List;
import java.util.Map;

public class PatientRecordResponse {
    private MedicalRecord medicalRecord;
    private Doctor doctor;
    private Patient patient;
    private PatientRecord patientRecord;

    private List<CheckList> checkLists;
    private List<Map<String, Object>> drugsWithQuantity;

    // 构造方法
    public PatientRecordResponse(MedicalRecord medicalRecord, Doctor doctor, Patient patient, PatientRecord patientRecord, List<CheckList> checkLists, List<Map<String, Object>> drugsWithQuantity) {
        this.medicalRecord = medicalRecord;
        this.doctor = doctor;
        this.patient = patient;
        this.patientRecord = patientRecord;
        this.checkLists = checkLists;
        this.drugsWithQuantity = drugsWithQuantity;
    }

    // Getter 和 Setter 方法
    public MedicalRecord getMedicalRecord() {
        return medicalRecord;
    }

    public void setMedicalRecord(MedicalRecord medicalRecord) {
        this.medicalRecord = medicalRecord;
    }

    public Doctor getDoctor() {
        return doctor;
    }

    public void setDoctor(Doctor doctor) {
        this.doctor = doctor;
    }

    public Patient getPatient() {
        return patient;
    }

    public void setPatient(Patient patient) {
        this.patient = patient;
    }

    public PatientRecord getPatientRecord() {
        return patientRecord;
    }

    public void setPatientRecord(PatientRecord patientRecord) {
        this.patientRecord = patientRecord;
    }

    public List<CheckList> getCheckLists() {
        return checkLists;
    }

    public void setCheckLists(List<CheckList> checkLists) {
        this.checkLists = checkLists;
    }

    public List<Map<String, Object>> getDrugsWithQuantity() {
        return drugsWithQuantity;
    }

    public void setDrugsWithQuantity(List<Map<String, Object>> drugsWithQuantity) {
        this.drugsWithQuantity = drugsWithQuantity;
    }
}

